﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Pay_My_Interface.Entity.Product;

namespace Pay_My_Server.Implements.Menu
{
    class Menu : IMenu
    {
        string name;
        int id;
        List<ICatalog> catalogs;
        List<ICostEntity> entities;
        List<IProduct> products;

        public Menu(int id, string name)
        {
            this.id = id;
            this.name = name;
            products = new List<IProduct>();
            entities = new List<ICostEntity>();
            catalogs = new List<ICatalog>();
        }



        List<ICatalog> getCatalogs()
        {
            return catalogs;
        }
        List<ICostEntity> getEntities()
        {
            return entities;
        }
        List<IProduct> getProducts()
        {
            return products;
        }
        void removeMenu(IMenu category)
        {
            //Don't understand what I have to do here :(
        }
    }
}
